package top.healthylife.gateway.mgr.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;
import java.util.Map;

/**
 * 账户信息 model
 *
 * @author maoxiaomeng
 */
public interface Account {

    @Data
    class Config {
        @NotBlank(message = "账户id不能为空")
        String accountId;
        Map<String, Object> secretJson;
        List<ApiPriceConfig> apiPriceConfig;
    }

    @Data
    class ApiPriceConfig {
        String apiName;
        Integer price;
    }
}
